package com.zqh.myfmmall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zqh.myfmmall.dao.ProductParamsDao;
import com.zqh.myfmmall.entity.ProductParams;
import com.zqh.myfmmall.service.ProductParamsService;
import org.springframework.stereotype.Service;

/**
 * 商品参数（详细信息） (ProductParams)表服务实现类
 *
 * @author KONO 曾淇杭哒！
 * @since 2022-01-20 20:53:00
 */
@Service("productParamsService")
public class ProductParamsServiceImpl extends ServiceImpl<ProductParamsDao, ProductParams> implements ProductParamsService {

    @Override
    public ProductParams selectByProductId(String productId) {
        ProductParams productParams = query().eq("product_id", productId).one();
        return productParams;
    }
}

